package com.example.databasepj.dto;

public class MerchantGetMenu {
    //[
    //    {
    //      dish_ID: 1,
    //      dish_name: '麻辣香锅',
    //      dish_category: '主食',
    //      price: 25,
    //      description: '麻辣香锅是一种传统的川菜，以其麻辣鲜香而著称。',
    //      ingredient: '鸡肉、牛肉、蔬菜',
    //      nutritionInfo: '热量：500kcal；蛋白质：30g；脂肪：20g；碳水化合物：50g',
    //      allergen: '辣椒',
    //      isSignatureDish: 1,

    //      average_rating: 4.2, // 菜品的评分
    //      total_sales: 2333, // 销量
    //      top_customer_ID: 1222, // 购买最多的人
    //    },
    //    {
    //    }
    //]
    private int dish_ID;
    private String dish_name;
    private String dish_category;
    private float price;
    private String description;
    private String ingredient;
    private String nutritionInfo;
    private String allergen;
    private int isSignatureDish;
    private float average_rating; // 菜品的平均评分
    private int total_sales;// 销量
    private int top_customer_ID;// 购买最多的人

    public MerchantGetMenu(int dish_ID, String dish_name) {
        this.dish_ID = dish_ID;
        this.dish_name = dish_name;
    }

    public MerchantGetMenu(int dish_ID, String dish_name, String dish_category, float price, String description, String ingredient, String nutritionInfo, String allergen, int isSignatureDish) {
        this.dish_ID = dish_ID;
        this.dish_name = dish_name;
        this.dish_category = dish_category;
        this.price = price;
        this.description = description;
        this.ingredient = ingredient;
        this.nutritionInfo = nutritionInfo;
        this.allergen = allergen;
        this.isSignatureDish = isSignatureDish;
    }

    public int getDish_ID() {
        return dish_ID;
    }

    public void setDish_ID(int dish_ID) {
        this.dish_ID = dish_ID;
    }

    public String getDish_name() {
        return dish_name;
    }

    public void setDish_name(String dish_name) {
        this.dish_name = dish_name;
    }

    public String getDish_category() {
        return dish_category;
    }

    public void setDish_category(String dish_category) {
        this.dish_category = dish_category;
    }

    public float getPrice() {
        return price;
    }

    public void setPrice(float price) {
        this.price = price;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getIngredient() {
        return ingredient;
    }

    public void setIngredient(String ingredient) {
        this.ingredient = ingredient;
    }

    public String getNutritionInfo() {
        return nutritionInfo;
    }

    public void setNutritionInfo(String nutritionInfo) {
        this.nutritionInfo = nutritionInfo;
    }

    public String getAllergen() {
        return allergen;
    }

    public void setAllergen(String allergen) {
        this.allergen = allergen;
    }

    public int getIsSignatureDish() {
        return isSignatureDish;
    }

    public void setIsSignatureDish(int isSignatureDish) {
        this.isSignatureDish = isSignatureDish;
    }

    public float getAverage_rating() {
        return average_rating;
    }

    public void setAverage_rating(float average_rating) {
        this.average_rating = average_rating;
    }

    public int getTotal_sales() {
        return total_sales;
    }

    public void setTotal_sales(int total_sales) {
        this.total_sales = total_sales;
    }

    public int getTop_customer_ID() {
        return top_customer_ID;
    }

    public void setTop_customer_ID(int top_customer_ID) {
        this.top_customer_ID = top_customer_ID;
    }
}
